package com.canvasForAll;

import org.apache.cordova.Config;
import org.apache.cordova.DroidGap;

import android.os.Bundle;
import android.view.WindowManager;

public class MyPhoneGapActivity extends DroidGap {
	
	@Override
	public void onCreate(Bundle savedInstanceState) {

		super.onCreate(savedInstanceState);
		
        getWindow().addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON);
		
		super.setIntegerProperty("splashscreen", R.drawable.splash);		
		super.loadUrl(Config.getStartUrl(), 5000);
	}
	
}
